package com.lancoo.znbkxx.teacher.ui.fragment.cognitiveAssessment

import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentPagerAdapter

/*
* FragmentAdapter基类
* */

class InviteFragmentAdapter(fm: FragmentManager?, private val list: List<Fragment>) : FragmentPagerAdapter(fm!!) {
    override fun getItem(arg0: Int): Fragment {
        return list[arg0]
    }

    override fun getCount(): Int {
        return list.size
    }
}